package com.activenetwork.smlite.testcase.events.createEvents.basics;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;

import com.activenetwork.smlite.snippet.EventsSnippet;
import com.activenetwork.smlite.testcase.BaseCase;
import com.activenetwork.util.verification.checkDropdownOptions;
import com.activenetwork.util.verification.gson.FailureAssertion;

public class Basics010 extends BaseCase {
	
	static final Logger logger = LoggerFactory.getLogger(Basics010.class);
	private String[] values;
	
	@BeforeClass(alwaysRun = true)
	public void dataSetup() {
		values = new String[]{
				"DEFAULT",
				"Conference",
				"Expo",
				"Festival",
				"Fundraiser",
				"Internal",
				"Meeting",
				"Other",
				"Reunion",
				"Social"};
	}
	
	@Test
	public void Vefify_Event_Category_works_correctly(){
		loginBusiness.login();
		EventsSnippet.gotoAddEventPage();
		
		// Get the event category
		checkDropdownOptions checkpoint = new checkDropdownOptions("EventBasicSubview", "eventCategory", values, Basics010.class.getName());
		checkpoint.verify();
		
		// logout
		loginBusiness.logout();
		FailureAssertion.pop(Basics010.class);
	}
}
